Pagini recente » Borderou de evaluare (job #702235) | Borderou de evaluare (job #2990574) | Borderou de evaluare (job #1081154) | Borderou de evaluare (job #2380397) | Borderou de evaluare (job #1632982)
Borderou de evaluare (job #1632982)
Raport evaluator
Compilare:
user.cpp: In function ‘void read_data()’:
user.cpp:75:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d\n", &n, &m);
^
user.cpp:75:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:78:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d ", &b[i]);
^
user.cpp:80:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d ", &c[i]);
^
user.cpp: In function ‘void run()’:
user.cpp:118:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d \n",sum[n-1][n-1]);
^
user.cpp: In function ‘void read_data()’:
user.cpp:75:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &m);
^
user.cpp:78:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &b[i]);
^
user.cpp:80:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &c[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:123:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxsubsum.in","r",stdin);
^
user.cpp:124:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxsubsum.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | Depăşit | 53828kb | Time limit exceeded. | 0 | 0 |
2 | Depăşit | 53828kb | Time limit exceeded. | 0 |
3 | Depăşit | 53828kb | Time limit exceeded. | 0 |
4 | Depăşit | 53824kb | Time limit exceeded. | 0 |
5 | Depăşit | 53828kb | Time limit exceeded. | 0 |
6 | Depăşit | 53828kb | Time limit exceeded. | 0 |
7 | Depăşit | 53828kb | Time limit exceeded. | 0 |
8 | Depăşit | 53828kb | Time limit exceeded. | 0 |
9 | Depăşit | 53828kb | Time limit exceeded. | 0 |
10 | Depăşit | 53824kb | Time limit exceeded. | 0 |
Punctaj total | 0 |