Pagini recente » Borderou de evaluare (job #646855) | Borderou de evaluare (job #2529978) | Borderou de evaluare (job #2906684) | Borderou de evaluare (job #398561) | Borderou de evaluare (job #1763445)
Borderou de evaluare (job #1763445)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:54:27: warning: unused variable ‘b’ [-Wunused-variable]
int t, i, j, n, c, a, b, nr;
^
user.cpp:51:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("piese3.in","r",stdin);
^
user.cpp:52:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("piese3.out","w",stdout);
^
user.cpp:56:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d", &t); t; --t)
^
user.cpp:58:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &c);
^
user.cpp:67:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2176ms | 7340kb | OK | 100 |
Punctaj total | 100 |