Pagini recente » Borderou de evaluare (job #2685382) | Borderou de evaluare (job #794103) | Borderou de evaluare (job #533265) | Borderou de evaluare (job #1021838) | Borderou de evaluare (job #1639851)
Borderou de evaluare (job #1639851)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:3:14: warning: integer overflow in expression [-Woverflow]
#define MAXA 100000
^
user.cpp:18:18: note: in expansion of macro ‘MAXA’
ans=MAXA*MAXA;
^
user.cpp:38:36: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(fout, "%lld\n", ans);
^
user.cpp:10:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &t);
^
user.cpp:12:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
user.cpp:15:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 156ms | 664kb | Incorect | 0 |
Punctaj total | 0 |